package com.ygqh.baby.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YgAgentInviteRecordExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public YgAgentInviteRecordExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(Long value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(Long value) {
			addCriterion("id <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(Long value) {
			addCriterion("id >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(Long value) {
			addCriterion("id >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(Long value) {
			addCriterion("id <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(Long value) {
			addCriterion("id <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<Long> values) {
			addCriterion("id in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<Long> values) {
			addCriterion("id not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(Long value1, Long value2) {
			addCriterion("id between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(Long value1, Long value2) {
			addCriterion("id not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNull() {
			addCriterion("user_id is null");
			return (Criteria) this;
		}

		public Criteria andUserIdIsNotNull() {
			addCriterion("user_id is not null");
			return (Criteria) this;
		}

		public Criteria andUserIdEqualTo(Long value) {
			addCriterion("user_id =", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotEqualTo(Long value) {
			addCriterion("user_id <>", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThan(Long value) {
			addCriterion("user_id >", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
			addCriterion("user_id >=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThan(Long value) {
			addCriterion("user_id <", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdLessThanOrEqualTo(Long value) {
			addCriterion("user_id <=", value, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdIn(List<Long> values) {
			addCriterion("user_id in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotIn(List<Long> values) {
			addCriterion("user_id not in", values, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdBetween(Long value1, Long value2) {
			addCriterion("user_id between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andUserIdNotBetween(Long value1, Long value2) {
			addCriterion("user_id not between", value1, value2, "userId");
			return (Criteria) this;
		}

		public Criteria andUserNameIsNull() {
			addCriterion("user_name is null");
			return (Criteria) this;
		}

		public Criteria andUserNameIsNotNull() {
			addCriterion("user_name is not null");
			return (Criteria) this;
		}

		public Criteria andUserNameEqualTo(String value) {
			addCriterion("user_name =", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameNotEqualTo(String value) {
			addCriterion("user_name <>", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameGreaterThan(String value) {
			addCriterion("user_name >", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameGreaterThanOrEqualTo(String value) {
			addCriterion("user_name >=", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameLessThan(String value) {
			addCriterion("user_name <", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameLessThanOrEqualTo(String value) {
			addCriterion("user_name <=", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameLike(String value) {
			addCriterion("user_name like", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameNotLike(String value) {
			addCriterion("user_name not like", value, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameIn(List<String> values) {
			addCriterion("user_name in", values, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameNotIn(List<String> values) {
			addCriterion("user_name not in", values, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameBetween(String value1, String value2) {
			addCriterion("user_name between", value1, value2, "userName");
			return (Criteria) this;
		}

		public Criteria andUserNameNotBetween(String value1, String value2) {
			addCriterion("user_name not between", value1, value2, "userName");
			return (Criteria) this;
		}

		public Criteria andInviteCodeIsNull() {
			addCriterion("invite_code is null");
			return (Criteria) this;
		}

		public Criteria andInviteCodeIsNotNull() {
			addCriterion("invite_code is not null");
			return (Criteria) this;
		}

		public Criteria andInviteCodeEqualTo(String value) {
			addCriterion("invite_code =", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeNotEqualTo(String value) {
			addCriterion("invite_code <>", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeGreaterThan(String value) {
			addCriterion("invite_code >", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeGreaterThanOrEqualTo(String value) {
			addCriterion("invite_code >=", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeLessThan(String value) {
			addCriterion("invite_code <", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeLessThanOrEqualTo(String value) {
			addCriterion("invite_code <=", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeLike(String value) {
			addCriterion("invite_code like", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeNotLike(String value) {
			addCriterion("invite_code not like", value, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeIn(List<String> values) {
			addCriterion("invite_code in", values, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeNotIn(List<String> values) {
			addCriterion("invite_code not in", values, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeBetween(String value1, String value2) {
			addCriterion("invite_code between", value1, value2, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteCodeNotBetween(String value1, String value2) {
			addCriterion("invite_code not between", value1, value2, "inviteCode");
			return (Criteria) this;
		}

		public Criteria andInviteTypeIsNull() {
			addCriterion("invite_type is null");
			return (Criteria) this;
		}

		public Criteria andInviteTypeIsNotNull() {
			addCriterion("invite_type is not null");
			return (Criteria) this;
		}

		public Criteria andInviteTypeEqualTo(String value) {
			addCriterion("invite_type =", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeNotEqualTo(String value) {
			addCriterion("invite_type <>", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeGreaterThan(String value) {
			addCriterion("invite_type >", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeGreaterThanOrEqualTo(String value) {
			addCriterion("invite_type >=", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeLessThan(String value) {
			addCriterion("invite_type <", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeLessThanOrEqualTo(String value) {
			addCriterion("invite_type <=", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeLike(String value) {
			addCriterion("invite_type like", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeNotLike(String value) {
			addCriterion("invite_type not like", value, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeIn(List<String> values) {
			addCriterion("invite_type in", values, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeNotIn(List<String> values) {
			addCriterion("invite_type not in", values, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeBetween(String value1, String value2) {
			addCriterion("invite_type between", value1, value2, "inviteType");
			return (Criteria) this;
		}

		public Criteria andInviteTypeNotBetween(String value1, String value2) {
			addCriterion("invite_type not between", value1, value2, "inviteType");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdIsNull() {
			addCriterion("receive_user_id is null");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdIsNotNull() {
			addCriterion("receive_user_id is not null");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdEqualTo(Long value) {
			addCriterion("receive_user_id =", value, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdNotEqualTo(Long value) {
			addCriterion("receive_user_id <>", value, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdGreaterThan(Long value) {
			addCriterion("receive_user_id >", value, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdGreaterThanOrEqualTo(Long value) {
			addCriterion("receive_user_id >=", value, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdLessThan(Long value) {
			addCriterion("receive_user_id <", value, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdLessThanOrEqualTo(Long value) {
			addCriterion("receive_user_id <=", value, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdIn(List<Long> values) {
			addCriterion("receive_user_id in", values, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdNotIn(List<Long> values) {
			addCriterion("receive_user_id not in", values, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdBetween(Long value1, Long value2) {
			addCriterion("receive_user_id between", value1, value2, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserIdNotBetween(Long value1, Long value2) {
			addCriterion("receive_user_id not between", value1, value2, "receiveUserId");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameIsNull() {
			addCriterion("receive_user_name is null");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameIsNotNull() {
			addCriterion("receive_user_name is not null");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameEqualTo(String value) {
			addCriterion("receive_user_name =", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameNotEqualTo(String value) {
			addCriterion("receive_user_name <>", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameGreaterThan(String value) {
			addCriterion("receive_user_name >", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameGreaterThanOrEqualTo(String value) {
			addCriterion("receive_user_name >=", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameLessThan(String value) {
			addCriterion("receive_user_name <", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameLessThanOrEqualTo(String value) {
			addCriterion("receive_user_name <=", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameLike(String value) {
			addCriterion("receive_user_name like", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameNotLike(String value) {
			addCriterion("receive_user_name not like", value, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameIn(List<String> values) {
			addCriterion("receive_user_name in", values, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameNotIn(List<String> values) {
			addCriterion("receive_user_name not in", values, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameBetween(String value1, String value2) {
			addCriterion("receive_user_name between", value1, value2, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andReceiveUserNameNotBetween(String value1, String value2) {
			addCriterion("receive_user_name not between", value1, value2, "receiveUserName");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeIsNull() {
			addCriterion("receive_time is null");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeIsNotNull() {
			addCriterion("receive_time is not null");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeEqualTo(Date value) {
			addCriterion("receive_time =", value, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeNotEqualTo(Date value) {
			addCriterion("receive_time <>", value, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeGreaterThan(Date value) {
			addCriterion("receive_time >", value, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("receive_time >=", value, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeLessThan(Date value) {
			addCriterion("receive_time <", value, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeLessThanOrEqualTo(Date value) {
			addCriterion("receive_time <=", value, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeIn(List<Date> values) {
			addCriterion("receive_time in", values, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeNotIn(List<Date> values) {
			addCriterion("receive_time not in", values, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeBetween(Date value1, Date value2) {
			addCriterion("receive_time between", value1, value2, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andReceiveTimeNotBetween(Date value1, Date value2) {
			addCriterion("receive_time not between", value1, value2, "receiveTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeIsNull() {
			addCriterion("expire_time is null");
			return (Criteria) this;
		}

		public Criteria andExpireTimeIsNotNull() {
			addCriterion("expire_time is not null");
			return (Criteria) this;
		}

		public Criteria andExpireTimeEqualTo(Date value) {
			addCriterion("expire_time =", value, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeNotEqualTo(Date value) {
			addCriterion("expire_time <>", value, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeGreaterThan(Date value) {
			addCriterion("expire_time >", value, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("expire_time >=", value, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeLessThan(Date value) {
			addCriterion("expire_time <", value, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeLessThanOrEqualTo(Date value) {
			addCriterion("expire_time <=", value, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeIn(List<Date> values) {
			addCriterion("expire_time in", values, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeNotIn(List<Date> values) {
			addCriterion("expire_time not in", values, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeBetween(Date value1, Date value2) {
			addCriterion("expire_time between", value1, value2, "expireTime");
			return (Criteria) this;
		}

		public Criteria andExpireTimeNotBetween(Date value1, Date value2) {
			addCriterion("expire_time not between", value1, value2, "expireTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeIsNull() {
			addCriterion("cancel_time is null");
			return (Criteria) this;
		}

		public Criteria andCancelTimeIsNotNull() {
			addCriterion("cancel_time is not null");
			return (Criteria) this;
		}

		public Criteria andCancelTimeEqualTo(Date value) {
			addCriterion("cancel_time =", value, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeNotEqualTo(Date value) {
			addCriterion("cancel_time <>", value, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeGreaterThan(Date value) {
			addCriterion("cancel_time >", value, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("cancel_time >=", value, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeLessThan(Date value) {
			addCriterion("cancel_time <", value, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeLessThanOrEqualTo(Date value) {
			addCriterion("cancel_time <=", value, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeIn(List<Date> values) {
			addCriterion("cancel_time in", values, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeNotIn(List<Date> values) {
			addCriterion("cancel_time not in", values, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeBetween(Date value1, Date value2) {
			addCriterion("cancel_time between", value1, value2, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelTimeNotBetween(Date value1, Date value2) {
			addCriterion("cancel_time not between", value1, value2, "cancelTime");
			return (Criteria) this;
		}

		public Criteria andCancelByIsNull() {
			addCriterion("cancel_by is null");
			return (Criteria) this;
		}

		public Criteria andCancelByIsNotNull() {
			addCriterion("cancel_by is not null");
			return (Criteria) this;
		}

		public Criteria andCancelByEqualTo(String value) {
			addCriterion("cancel_by =", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByNotEqualTo(String value) {
			addCriterion("cancel_by <>", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByGreaterThan(String value) {
			addCriterion("cancel_by >", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByGreaterThanOrEqualTo(String value) {
			addCriterion("cancel_by >=", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByLessThan(String value) {
			addCriterion("cancel_by <", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByLessThanOrEqualTo(String value) {
			addCriterion("cancel_by <=", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByLike(String value) {
			addCriterion("cancel_by like", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByNotLike(String value) {
			addCriterion("cancel_by not like", value, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByIn(List<String> values) {
			addCriterion("cancel_by in", values, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByNotIn(List<String> values) {
			addCriterion("cancel_by not in", values, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByBetween(String value1, String value2) {
			addCriterion("cancel_by between", value1, value2, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCancelByNotBetween(String value1, String value2) {
			addCriterion("cancel_by not between", value1, value2, "cancelBy");
			return (Criteria) this;
		}

		public Criteria andCheckStatusIsNull() {
			addCriterion("check_status is null");
			return (Criteria) this;
		}

		public Criteria andCheckStatusIsNotNull() {
			addCriterion("check_status is not null");
			return (Criteria) this;
		}

		public Criteria andCheckStatusEqualTo(String value) {
			addCriterion("check_status =", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusNotEqualTo(String value) {
			addCriterion("check_status <>", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusGreaterThan(String value) {
			addCriterion("check_status >", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusGreaterThanOrEqualTo(String value) {
			addCriterion("check_status >=", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusLessThan(String value) {
			addCriterion("check_status <", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusLessThanOrEqualTo(String value) {
			addCriterion("check_status <=", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusLike(String value) {
			addCriterion("check_status like", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusNotLike(String value) {
			addCriterion("check_status not like", value, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusIn(List<String> values) {
			addCriterion("check_status in", values, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusNotIn(List<String> values) {
			addCriterion("check_status not in", values, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusBetween(String value1, String value2) {
			addCriterion("check_status between", value1, value2, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andCheckStatusNotBetween(String value1, String value2) {
			addCriterion("check_status not between", value1, value2, "checkStatus");
			return (Criteria) this;
		}

		public Criteria andStatusIsNull() {
			addCriterion("status is null");
			return (Criteria) this;
		}

		public Criteria andStatusIsNotNull() {
			addCriterion("status is not null");
			return (Criteria) this;
		}

		public Criteria andStatusEqualTo(String value) {
			addCriterion("status =", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotEqualTo(String value) {
			addCriterion("status <>", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThan(String value) {
			addCriterion("status >", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusGreaterThanOrEqualTo(String value) {
			addCriterion("status >=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThan(String value) {
			addCriterion("status <", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLessThanOrEqualTo(String value) {
			addCriterion("status <=", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusLike(String value) {
			addCriterion("status like", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotLike(String value) {
			addCriterion("status not like", value, "status");
			return (Criteria) this;
		}

		public Criteria andStatusIn(List<String> values) {
			addCriterion("status in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotIn(List<String> values) {
			addCriterion("status not in", values, "status");
			return (Criteria) this;
		}

		public Criteria andStatusBetween(String value1, String value2) {
			addCriterion("status between", value1, value2, "status");
			return (Criteria) this;
		}

		public Criteria andStatusNotBetween(String value1, String value2) {
			addCriterion("status not between", value1, value2, "status");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}